package com.xxwu.messagequeue.mqserver.core;

public enum ExchangeType {
    Direct(0),
    Fanout(1),
    Topic(2);

    private final int type;

    ExchangeType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }
}
